package com.raffles.oa.dao;

import java.util.List;
import java.util.Map;

import com.system.common.Page;
import com.raffles.oa.domain.CompanyElectricCharge;
import com.raffles.oa.domain.ElectricCharge;
/**
 * : t_raffles_electric_charge
 * 
 * 
 * @author Gen
 */
public interface IElectricChargeDAO{
	/**
	 * @param bean
	 * @return
	 */
	ElectricCharge insertElectricCharge(ElectricCharge bean);
	/**
	 * @param elchGuid
	 * @return
	 */
	boolean deleteElectricCharge(String elchGuid);	
	/**
	 * @param bean
	 * @return
	 */
	ElectricCharge updateElectricCharge(ElectricCharge bean);	
	/**
	 * @param elchGuid
	 * @return
	 */
	ElectricCharge loadElectricCharge(String elchGuid);
	/**
	 * @param param
	 * @param page
	 * @return
	 */
	List<ElectricCharge> queryList(Map<String,Object> param,Page page);
	
	List<CompanyElectricCharge> queryPageListCompanyElectricCharge(Map<String,Object> param,Page page);
	
	List<CompanyElectricCharge> queryListCompanyElectricCharge(Map<String,Object> param);

	CompanyElectricCharge queryCompanyElectricCharge(String shopCode, String electricMeterNo, String elchPeriod);

}
